package com.sjr.easy.chat.app.ws;

public enum AppWSMessageTypeEnum {

    ECHO("echo", ""),
    NEW_MSG("NewMsg", "新消息"),
    ;

    private final String typeName;
    private final String typeDesc;

    AppWSMessageTypeEnum(String typeName, String typeDesc) {
        this.typeName = typeName;
        this.typeDesc = typeDesc;
    }

    public String getTypeName() {
        return typeName;
    }

    public String getTypeDesc() {
        return typeDesc;
    }
}
